{extend name="../../admin/view/main"}

{block name="button"}
{/block}

{block name="content"}
<div class="layui-tab layui-tab-card">

    <div class="layui-tab-content">
        {include file='report/driver/index_search'}
        <table class="layui-table margin-top-10" lay-skin="line">
            {notempty name='list'}
            <thead>
            <tr>
                <th class='nowrap'>ID</th>
                <th class='nowrap'>对接日期</th>
                <th class='nowrap'>完成日期</th>
                <th class='nowrap'>城市</th>
                <th class='nowrap'>归属城市</th>
                <th class='nowrap'>司机</th>
                <th class='nowrap'>车牌</th>
                <th class='nowrap'>师傅结算费用（元）</th>
                <th class='nowrap'>覆盖面结算费用（元）</th>
                <th class='nowrap'>总额（元）</th>
                <th class='nowrap'>电话</th>
                <th class='nowrap'>车型</th>
                <th class='nowrap'>喷漆状态</th>
                <th class='nowrap'>尾部喷漆</th>
                <th class='nowrap'>车身颜色</th>
                <th class='nowrap'>首次邀约情况</th>
                <th class='nowrap'>首次邀约日期</th>
                <th class='nowrap'>最近邀约情况</th>
                <th class='nowrap'>最近邀约日期</th>
                <th class='nowrap'>喷漆师傅</th>
                <th class='nowrap'>是否有覆盖</th>
                <th class='nowrap'>广告覆盖是否收费</th>
                <th class='nowrap'>覆盖几面</th>
                <th class='nowrap'>是否返工</th>
            </tr>
            </thead>
            {/notempty}
            <tbody>
            {foreach $list as $key=>$vo}
            <tr>
                <td class='nowrap'>
                    <div><span class="color-text">{$vo.id|default='-'}</span></div>
                </td>
                <td class="nowrap"><!--对接日期--><div>{$vo.time_docking}</div></td>
                <td class="nowrap"><!--完成日期--><div>{$vo.time_complete}</div></td>
                <td class="nowrap"><!--城市--><div>{$vo.province}{$vo.city}{$vo.area}</div></td>
                <td class="nowrap"><!--归属城市--><div>{$vo.city_owner}</div></td>
                <td class="nowrap"><!--司机--><div>{$vo.username}</div></td>
                <td class="nowrap"><!--车牌--><div>{$vo.plate_number}</div></td>
                <td class="nowrap"><!--师傅结算费用（元）--><div>{$vo.painter_price}</div></td>
                <td class="nowrap"><!--覆盖面结算费用（元）--><div>{$vo.cover_price}</div></td>
                <td class="nowrap"><!--总额（元）--><div>{$vo.painter_price + $vo.cover_price}</div></td>
                <td class="nowrap"><!--电话--><div>{$vo.phone}</div></td>
                <td class="nowrap"><!--车型--><div>{$vo.car_vehicle_type}</div></td>
                <td class="nowrap"><!--喷漆状态--><div>{if $vo.paint_status eq 0}<span class="color-red">否</span>{elseif $vo.paint_status eq 1}<span class="color-green">是</span>{else}{/if}</div></td>
                <td class="nowrap"><!--尾部喷漆--><div>{if $vo.end_paint_status eq 0}<span class="color-red">否</span>{elseif $vo.end_paint_status eq 1}<span class="color-green">是</span>{else}{/if}</div></td>
                <td class="nowrap"><!--车身颜色--><div>{$vo.car_color}</div></td>
                <td class="nowrap"><!--首次邀约情况--><div>{$vo.invite_remark}</div></td>
                <td class="nowrap"><!--首次邀约日期--><div>{$vo.time_invite}</div></td>
                <td class="nowrap"><!--最近邀约情况--><div>{$vo.invite_remarks}</div></td>
                <td class="nowrap"><!--最近邀约日期--><div>{$vo.time_invites}</div></td>
                <td class="nowrap"><!--喷漆师傅--><div>{$vo.painter}</div></td>
                <td class="nowrap"><!--是否有覆盖--><div>{if $vo.has_cover eq 0}<span class="color-red">否</span>{elseif $vo.has_cover eq 1}<span class="color-green">是</span>{else}{/if}</div></td>
                <td class="nowrap"><!--广告覆盖是否收费--><div>{if $vo.ad_cover_fee eq 0}<span class="color-red">否</span>{elseif $vo.ad_cover_fee eq 1}<span class="color-green">是</span>{else}{/if}</div></td>
                <td class="nowrap"><!--覆盖几面--><div>{$vo.cover_num}</div></td>
                <td class="nowrap"><!--是否返工--><div>{if $vo.is_rework eq 0}<span class="color-red">否</span>{elseif $vo.is_rework eq 1}<span class="color-green">是</span>{else}{/if}</div></td>
            </tr>
            {/foreach}
            </tbody>
        </table>
        {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
    </div>
</div>

{/block}